home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / spiele / publicdomain / elan / src / symbols.c < prev    next >
C/C++ Source or Header  |  1996-06-07  |  566b  |  33 lines

  1.  
  2. #include "global.h"
  3. #include "coredefs.h"
  4. #include "symbols.h"
  5.  
  6. void set_icon(symbol *sp, icon_type icon)
  7.     {
  8.     if(sp->icon != icon)
  9.         {
  10.         sp->icon = icon;
  11.         sp->updated = TRUE;
  12.         }
  13.     }
  14.  
  15. void set_color(symbol *sp, color_type color)
  16.     {
  17.     if(sp->color != color)
  18.         {
  19.         sp->color = color;
  20.         sp->updated = TRUE;
  21.         }
  22.     }
  23.  
  24. void set_attribute(symbol *sp, attribute_type attribute)
  25.     {
  26.     if(sp->attribute != attribute)
  27.         {
  28.         sp->attribute = attribute;
  29.         sp->updated = TRUE;
  30.         }
  31.     }
  32.  
  33.